import { SHOPAPI } from '../util/api_config'
import createApiAction from './createApiAction'

const animeAction = {
  // 获取动漫列表
  getAnime: createApiAction({
    url: 'https://www.ikanfan.cn/tool/week.php',
    method: 'GET',
    state: 'GET_ANIME'
  }),
  // 搜索动漫
  soAnime: createApiAction({
    url: 'https://www.ikanfan.cn/tool/so.php',
    method: 'GET'
  }),
}

module.exports = animeAction
